home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / disk / kutil13.zip / KEYIN.TXT < prev    next >
Text File  |  1995-12-06  |  6KB  |  192 lines

  1.                               K-TOOLS UTILITIES
  2.  
  3.  
  4.               Copyright (c) 1994-95 by Rob McDonell, ARK ANGLES
  5.                              All Rights Reserved
  6.  
  7.  
  8.                              KEYIN - Key In 1.3
  9.  
  10.  
  11. This utility enters keystrokes into the keyboard buffer, especially
  12. useful for automating responses in batch files.  This works in the same
  13. way as the .KEYIN macro command in K-Tools Desk Caddy and Workplace.
  14.  
  15.  
  16. USAGE:
  17.  
  18.   KEYIN [parm [parm [..]]]
  19.  
  20. where:  parm  is a string of normal and/or special characters
  21.  
  22. Normal characters, that is a-z, A-Z, 0-9 and most other symbols are put
  23. directly into the keyboard buffer as is, thereby covering almost all of the
  24. common "typewriter" keys.
  25.  
  26. Special characters are those that cannot be entered as normal characters,
  27. such as function keys, cursor movement keys and control codes.
  28.  
  29. Note that any spaces in the KEYIN parameter will be ignored.  If you want
  30. to enter a space character into the keyboard buffer, use the special
  31. character underline.
  32.  
  33. Note also that the keyboard buffer can usually only hold about 15 keystrokes
  34. at one time.  Any additional characters entered will be ignored.
  35.  
  36.  
  37. SPECIAL CHARACTERS:
  38.  
  39.  ~     (Tilde) will generate the <Enter> key.
  40.  
  41.  _     (Underline) will generate the <Space> key.
  42.  
  43.  /     (Slash) will generate the menu <F10> key.
  44.  
  45.  /n    (Slash followed by a single digit) will generate a function key:
  46.  
  47.        /1   <F1>
  48.        /2   <F2>
  49.        /3   <F3>
  50.        /4   <F4>
  51.        /5   <F5>
  52.        /6   <F6>
  53.        /7   <F7>
  54.        /8   <F8>
  55.        /9   <F9>
  56.        /0   <F10>
  57.  
  58.  !n    (Exclamation followed by a digit) will generate a shifted function key:
  59.  
  60.        !1   <Shift+F1>
  61.        !2   <Shift+F2>
  62.        !3   <Shift+F3>
  63.        !4   <Shift+F4>
  64.        !5   <Shift+F5>
  65.        !6   <Shift+F6>
  66.        !7   <Shift+F7>
  67.        !8   <Shift+F8>
  68.        !9   <Shift+F9>
  69.        !0   <Shift+F10>
  70.  
  71.  @z    (At sign followed by a single character or digit) will generate <Alt>
  72.        plus that character or digit.  The character may be in upper or lower
  73.        case.  The following combinations are also valid:
  74.  
  75.        @_   <Alt+Space>
  76.        @=   <Alt+Equals>
  77.        @-   <Alt+Minus>
  78.        @/1  <Alt+F1>
  79.        @/2  <Alt+F2>
  80.        @/3  <Alt+F3>
  81.        @/4  <Alt+F4>
  82.        @/5  <Alt+F5>
  83.        @/6  <Alt+F6>
  84.        @/7  <Alt+F7>
  85.        @/8  <Alt+F8>
  86.        @/9  <Alt+F9>
  87.        @/0  <Alt+F10>
  88.  
  89.  ^x    (Hat followed by a single character) will generate <Ctrl> plus that
  90.        character.  The character may be in upper or lower case.
  91.  
  92.  \nnn  (Backslash followed by a three digit number) will generate a character
  93.        with ASCII code nnn.  This allows any character, including those
  94.        otherwise unprintable or inaccessible by the keyboard, to be entered.
  95.  
  96.  \x    (Backslash followed by a single character) will generate one of the
  97.        cursor movement keys.  The character may be in upper or lower case:
  98.  
  99.        \B   <Bksp>         (backspace)
  100.        \C   <Esc>          (escape)
  101.        \I   <Ins>          (insert)
  102.        \D   <Del>          (delete)
  103.        \H   <Home>
  104.        \E   <End>
  105.        \P   <PgUp>         (page up)
  106.        \N   <PgDn>         (page down)
  107.        \L   <Left>         (cursor left)
  108.        \R   <Right>        (cursor right)
  109.        \S   <Shift+Tab>    (reverse tab)
  110.        \T   <Tab>          (forward tab)
  111.        \U   <Up>           (cursor up)
  112.        \W   <Down>         (cursor down)
  113.        \X   <Shift+Del>
  114.        \Y   <Shift+Ins>
  115.  
  116.        Any other character following a backslash is treated literally.  For
  117.        example, "\Q" is just the same as "Q".  This allows the other special
  118.        characters above to be used normally:
  119.  
  120.        \~   literal tilde
  121.        \_   literal underline
  122.        \/   literal slash
  123.        \!   literal exclamation mark
  124.        \@   literal at sign
  125.        \^   literal hat
  126.        \\   literal backslash
  127.  
  128.  Other control key combinations are also valid:
  129.  
  130.        ^~   <Ctrl+Enter>
  131.        ^\B  <Ctrl+Bksp>
  132.        ^\I  <Ctrl+Ins>
  133.        ^\D  <Ctrl+Del>
  134.        ^\H  <Ctrl+Home>
  135.        ^\E  <Ctrl+End>
  136.        ^\P  <Ctrl+PgUp>
  137.        ^\N  <Ctrl+PgDn>
  138.        ^\L  <Ctrl+Left>
  139.        ^\R  <Ctrl+Right>
  140.        ^/1  <Ctrl+F1>
  141.        ^/2  <Ctrl+F2>
  142.        ^/3  <Ctrl+F3>
  143.        ^/4  <Ctrl+F4>
  144.        ^/5  <Ctrl+F5>
  145.        ^/6  <Ctrl+F6>
  146.        ^/7  <Ctrl+F7>
  147.        ^/8  <Ctrl+F8>
  148.        ^/9  <Ctrl+F9>
  149.        ^/0  <Ctrl+F10>
  150.  
  151.  
  152. All other alphabetic, numeric, and punctuation characters are used
  153. exactly as they are.
  154.  
  155.  
  156. EXAMPLES:
  157.  
  158.   KEYIN deskcad~^omyfile~        will run Desk Caddy and open MYFILE on the
  159.                                  screen.  Note the use of the tilde for
  160.                                  <Enter> and the hat for a control key.
  161.  
  162.   KEYIN wipe_*.bak~y~            will run WIPE to obliterate all the *.BAK
  163.                                  files in the current directory and
  164.                                  automatically enter the 'y' response.  Note
  165.                                  the use of the underline for a space.
  166.  
  167.   KEYIN rmtree_a:\\~y~           will run RMTREE to remove the contents of
  168.                                  the root directory of drive A: and
  169.                                  automatically enter the 'y' response.  Note
  170.                                  the use of the two backslashes in a row to
  171.                                  get a single backslash.
  172.  
  173. Run KEYIN with no parameters or "?" or "/?" to display simple help and
  174. registration information.
  175.  
  176.  
  177. REGISTRATION:
  178.  
  179. This program is part of the K-TOOLS UTILITIES shareware package.  To keep
  180. using it after the 60 day trial period you must register, which costs only
  181. A$15 per utility or A$29, US$24, £15, Dm40, ¥2400 for the whole collection.
  182.  
  183. Author:     Rob McDonell
  184.             ARK ANGLES
  185.             P O Box 190 (61 Oaklands Rd)
  186.             Hazelbrook  NSW  2779
  187.             AUSTRALIA
  188. Phone:      Intl+61-47-588100
  189. Fax:        Intl+61-47-588638
  190. Compuserve: 100237,141
  191. Internet:   100237.141@compuserve.com
  192.